package cn.tedu.wufl.xcw.adapter.response;

import lombok.Getter;

@Getter
public enum AppCode {
    SUCCESS(0,"请求成功"),
    FAILED(1001,"请求失败"),
    VALIDATE_ERROR(1002,"参数校验失败"),
    RESPONSE_PACK_ERROR(1003,"response返回封装失败"),
    APP_ERROR(2000,"业务异常"),
    FILE_UPLOAD_FAIL(2001,"文件上传失败"),
    ;
    private int code;
    private String msg;
    AppCode(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

}
